﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Work2
{
    public partial class FrmMain : Form
    {
        public FrmMain()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void MenuStrip1_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
        {

        }

        private void TsmiSearchAsset_Click(object sender, EventArgs e)
        {
            FrmSearch frmSearchAsset = new FrmSearch();
            frmSearchAsset.MdiParent = this.MdiParent;
            frmSearchAsset.Show();
            this.Hide();
            
        }

        private void TsmiExit_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("确认退出系统？", "提示", MessageBoxButtons.YesNo) == DialogResult.No)
            {
                return;
            }
            Application.Exit();
        }

        
    }
}
